<!-- IF S_MOLTEN_CHAT_ENABLED and (S_MOLTEN_CHAT_SEND or S_MOLTEN_CHAT_VIEW) -->

<!--
	/**
	*
	* @package MoltX QuickChat
	* @author $Author: moltendorf $
	* @version $Id: molten_chat_client.html 166 2009-09-26 00:49:48Z moltendorf $
	* @latest $URL: https://molten-chat.googlecode.com/svn/trunk/source/styles/subsilver2/template/molten_chat_client.html $
	* @copyright (c) 2005-2009 Matthew Oltendorf
	* @license http://opensource.org/licenses/gpl-license.php GNU Public License
	*
	*/
-->

<form action="#" id="molten_chat_form">
	<fieldset>
		<legend></legend>
		<table class="tablebg shoutbox" cellspacing="1" width="100%">
		<tr>
			<td class="cat" colspan="<!-- IF not S_MOLTEN_CHAT_ROOM -->4<!-- ELSE -->5<!-- ENDIF -->"><a class="nav" href="{MOLTEN_CHAT_POPOUT}">{L_MOLTEN_CHAT_SHOUTBOX}</a></td>
			<!-- IF not S_MOLTEN_CHAT_ROOM --><td class="cat"><a href="<!-- IF not S_MOLTEN_CHAT_HIDDEN -->{MOLTEN_CHAT_HIDE}">{L_MOLTEN_CHAT_HIDE_SHOUTBOX}<!-- ELSE -->{MOLTEN_CHAT_SHOW}">{L_MOLTEN_CHAT_SHOW_SHOUTBOX}<!-- ENDIF --></a></td><!-- ENDIF -->
		</tr>
		<!-- IF not S_MOLTEN_CHAT_HIDDEN or S_MOLTEN_CHAT_ROOM -->
		<tr>
			<td class="row1" colspan="4">
				<div<!-- IF not S_MOLTEN_CHAT_SEND --> class="tall"<!-- ENDIF --> id="molten_chat_history">
					<p>{L_MOLTEN_CHAT_CONNECTING}</p>
				</div>
			</td>
			<td class="row2" width="200" rowspan="2">
				<div id="molten_chat_users">
					<p style="font-weight: normal; ">{L_MOLTEN_CHAT_CONNECTING}</p>
				</div>
			</td>
		</tr>
		<!-- IF S_MOLTEN_CHAT_SEND -->
		<tr>
					<td class="row1" colspan="3"><input id="molten_chat_message" maxlength="{MOLTEN_CHAT_MESSAGE_LENGTH}" type="text" /></td>
					<td class="row1" width="50"><input class="btnmain" type="submit" value="Send" /></td>
		</tr>
		<!-- ENDIF -->
		<!-- ENDIF -->
		</table>
	</fieldset>
</form>
<div class="shoutbox copyright">Powered by <a href="http://code.google.com/p/molten-chat/">MoltX QuickChat</a> &copy; 2005-2009 Matthew Oltendorf</div>
<br />

<!-- IF not S_MOLTEN_CHAT_HIDDEN or S_MOLTEN_CHAT_ROOM -->
<script src="{T_TEMPLATE_PATH}/molten_chat.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
	// Set colors.
	chat.Colors ("0,0,0", "0,0,0");

	// Initiate chat.
	chat.Initialize (
		document.getElementById ("molten_chat_history"),
		"{MOLTEN_CHAT_RETRIEVE}",
		"{MOLTEN_CHAT_RETRIEVE}",
		"{MOLTEN_CHAT_USERNAME}",
		(100),
		document.getElementById ("molten_chat_form"),
		document.getElementById ("molten_chat_message"),
		"{MOLTEN_CHAT_SEND}",
		document.getElementById ("molten_chat_users"),
		"{MOLTEN_CHAT_RETRIEVE}",
		(2500),
		(1)
	);
// ]]>
</script>
<!-- ENDIF -->
<!-- ENDIF -->